package com.dreem.decorator.adds;

import com.dreem.decorator.service.Decorator;
import com.dreem.decorator.service.Drink;

/**
 * @program: DesignParrtern
 * @description: 牛奶
 * @author: Peng
 * @create: 2021-02-15  10:46
 **/
public class Milk extends Decorator {
    public Milk(Drink drink) {
        super(drink);
        this.setDes(" 牛奶 ");
        this.setPrice(2.0f);
    }
}
